{config_load file="$language/lang.conf" section="boxes"}
{$FORM_ACTION}
<div class="blocks"><div><div><div>
	<h3>{#heading_search#}</h3>
<table>
  <tr>
    <td>{$INPUT_SEARCH}</td>
    <td>{$BUTTON_SUBMIT}</td>
  </tr>
</table>
<div class="ajaxQuickFind" id="ajaxQuickFind" style="text-align: left;"></div>
<a href="{$LINK_ADVANCED}">{#text_advanced_search#}</a>
</div></div></div></div>
{$FORM_END}
{literal}
<script language="javascript" type="text/javascript">
	function ajaxQuickFind(elt) {
//		if(ajaxQuickFindUpForm.keywords.value.length > 2)
			loadXMLDoc('ajaxQuickFind', hashFormFields(ajaxQuickFindUpForm), true);
	}
	var timeout = null;
	var ajaxQuickFindUpForm = null;
	function ajaxQuickFindUp(elt) {
		ajaxQuickFindUpForm = elt.form;
	  if (timeout) clearTimeout(timeout);
	  timeout = setTimeout('ajaxQuickFind()', 500);
	}
</script>
{/literal}